﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace PortalWeb.Flight.Web.Models
{
    public enum EnumRouteType
    {
        Ow,
        Rt,
    }

    public class QueryAvIndexModel
    {
        [Required]
        [Display(Name = "航程类型")]
        public EnumRouteType RouteType { get; set; }
        [Required]
        [Display(Name = "出发城市")]
        public string OrgCity { get; set; }
        [Required]
        [Display(Name = "到达城市")]
        public string DstCity { get; set; }
        [Required]
        [Display(Name = "出发日期")]
        public DateTime AirOrgTime { get; set; }

        [Required]
        [Display(Name = "返程日期")]
        public DateTime AirDstTime { get; set; }
    }
}